﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_Transfer_Price_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_Transfer_Price_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_Transfer_Price_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_Transfer_Price_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_Transfer_Price_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_Transfer_Price_Gridview", "No");
        [Column]
        public string Material { get { return _Material; } set { _Material = value; EntityState.FieldChange("Material"); } } private string _Material; public static FieldInfo material = new FieldInfo("TW_Transfer_Price_Gridview", "Material");
        [Column]
        public string ICD_Status { get { return _ICD_Status; } set { _ICD_Status = value; EntityState.FieldChange("ICD_Status"); } } private string _ICD_Status; public static FieldInfo iCD_Status = new FieldInfo("TW_Transfer_Price_Gridview", "ICD_Status");
        [Column]
        public string Description { get { return _Description; } set { _Description = value; EntityState.FieldChange("Description"); } } private string _Description; public static FieldInfo description = new FieldInfo("TW_Transfer_Price_Gridview", "Description");
        [Column]
        public string Proc_Stat { get { return _Proc_Stat; } set { _Proc_Stat = value; EntityState.FieldChange("Proc_Stat"); } } private string _Proc_Stat; public static FieldInfo proc_Stat = new FieldInfo("TW_Transfer_Price_Gridview", "Proc_Stat");
        [Column]
        public string Amount { get { return _Amount; } set { _Amount = value; EntityState.FieldChange("Amount"); } } private string _Amount; public static FieldInfo amount = new FieldInfo("TW_Transfer_Price_Gridview", "Amount");
        [Column]
        public string Unit { get { return _Unit; } set { _Unit = value; EntityState.FieldChange("Unit"); } } private string _Unit; public static FieldInfo unit = new FieldInfo("TW_Transfer_Price_Gridview", "Unit");
        [Column]
        public string Per { get { return _Per; } set { _Per = value; EntityState.FieldChange("Per"); } } private string _Per; public static FieldInfo per = new FieldInfo("TW_Transfer_Price_Gridview", "Per");
        [Column]
        public string Uom { get { return _Uom; } set { _Uom = value; EntityState.FieldChange("Uom"); } } private string _Uom; public static FieldInfo uom = new FieldInfo("TW_Transfer_Price_Gridview", "Uom");
        [Column]
        public string Calculat_Type { get { return _Calculat_Type; } set { _Calculat_Type = value; EntityState.FieldChange("Calculat_Type"); } } private string _Calculat_Type; public static FieldInfo calculat_Type = new FieldInfo("TW_Transfer_Price_Gridview", "Calculat_Type");
        [Column]
        public string ScaleBasis { get { return _ScaleBasis; } set { _ScaleBasis = value; EntityState.FieldChange("ScaleBasis"); } } private string _ScaleBasis; public static FieldInfo scaleBasis = new FieldInfo("TW_Transfer_Price_Gridview", "ScaleBasis");
        [Column]
        public string Valid_From { get { return _Valid_From; } set { _Valid_From = value; EntityState.FieldChange("Valid_From"); } } private string _Valid_From; public static FieldInfo valid_From = new FieldInfo("TW_Transfer_Price_Gridview", "Valid_From");
        [Column]
        public string Valid_To { get { return _Valid_To; } set { _Valid_To = value; EntityState.FieldChange("Valid_To"); } } private string _Valid_To; public static FieldInfo valid_To = new FieldInfo("TW_Transfer_Price_Gridview", "Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_Transfer_Price_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_Transfer_Price_Gridview", "Status");

    }
}
